﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SPALM.MSBuildTasks
{
  public class RestartSPAdmin : DeploymentOperation
  {
    public RestartSPAdmin(Deployment parentTask, int ParsedRetries, int ParsedWaitSecondsAfterFinish, bool ParsedSimulateDeployment)
        : base(parentTask, ParsedRetries, ParsedWaitSecondsAfterFinish, ParsedSimulateDeployment)
    {
    }

    public override void RunOperation()
    {
      RestartService("SPAdmin");

      RestartService("SPAdminV4");
    }
  }
}
